package haw.pr2.A3.implementations;

import haw.pr2.A3.interfaces.*;
import static haw.pr2.A3.implementations.UtilityclassValues.*;

/**
 *
 * @author Fabian Heidorn, Alexander Kaack
 */

class NullContainer extends AbstractContainer {

    private static NullContainer singleton = new NullContainer();

    private NullContainer() {
    pallets = EMPTY_PALLET_STOWAGE;
    emptyMass=ZERO_MASS;
    maxMass=ZERO_MASS;
    bBox = UtilityclassValues.boundingBox(CON_LENGTH, CON_WIDTH, CON_HEIGHT);
    }
    
    public static Container singleton() {
        return singleton;
    }
    
    @Override
    public boolean isEmpty() {
        return true;
    }

    @Override
    public boolean isFull() {
        return false;
    }


    @Override
    public boolean isFree() {
        return true;
    }

    @Override
    public boolean isBlocked() {
        return false;
    }

    @Override
    public boolean isOccupied() {
        return false;
    }


}
